home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / C / SBASIC02.ZIP / MAKEFILE < prev    next >
Encoding:
Text File  |  1994-11-05  |  461 b   |  22 lines

  1. # SMALL BASIC V0.2 Copyright (C) 1994 James J. Bielman
  2. # Read GNU.LIC for licensing info
  3. # Makefile -- Modify to suit your system
  4. # set CC to your C compiler (i use gcc)
  5. CC=gcc
  6.  
  7. # set your compiler options here
  8. CCOPTS=-g
  9.  
  10. target: sbasic.exe
  11.  
  12. # This step is needed for DJGPP
  13. sbasic.exe: sbasic
  14.     coff2exe -s /djgpp/bin/go32.exe sbasic
  15.  
  16. sbasic: sbasic.o exparse.o
  17.     $(CC) $(CCOPTS) -o sbasic sbasic.o exparse.o
  18.  
  19. .c.o:
  20.     $(CC) $(CCOPTS) -c $<
  21.